<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
SoyFileParser (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="SoyFileParser (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/SimpleCharStream.html" title="class in com.google.template.soy.soyparse"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html" title="interface in com.google.template.soy.soyparse"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/soyparse/SoyFileParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SoyFileParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.template.soy.soyparse</FONT>
<BR>
Class SoyFileParser</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.template.soy.soyparse.SoyFileParser</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html" title="interface in com.google.template.soy.soyparse">SoyFileParserConstants</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>SoyFileParser</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html" title="interface in com.google.template.soy.soyparse">SoyFileParserConstants</A></DL>
</PRE>

<P>
This parser's specification is in SoyFileParser.jj, which is read by JavaCC and transformed
 into SoyFileParser.java. To modify this parser, please edit SoyFileParser.jj. Do not edit
 SoyFileParser.java directly.

 <p> Important: Do not use outside of Soy code (treat as superpackage-private).

 <pre>
 This parser parses the following Soy file structure:

 1. Delegate package (delpackage):
    + Optional.
    + The file must contain 0 or 1 delpackage declaration.
    + It must appear before the namespace declaration.
    + It must appear on its own line and start at the start of a line.
    Example:  {delpackage MySecretFeature}

 2. Namespace:
    + The file must contain exactly one namespace declaration.
    + It must appear before any templates.
    + It must appear on its own line and start at the start of a line.
    Examples:
    {namespace boo.foo}
    {namespace boo.foo autoescape="..."}

 3. Alias:
    + Alias declarations must appear after the namespace declaration.
    + They must appear before any templates.
    + Each must appear on its own line and start at the start of a line.
    Examples:
    {alias boo.foo.goo.moo}
    {alias boo.foo.goo.moo as zoo}    // currently disabled

 4. SoyDoc:
    + Starts with slash-star-star (/**) and ends with star-slash (*&#47;) like JavaDoc.
    + SoyDoc must appear on its own line(s) and start at the start of a line.
    + Currently recognizes two tags: "&#64;param keyName" and "&#64;param? optionalKeyName".
    Example:
    /**
     * &#64;param boo Something scary.
     * &#64;param? goo Something slimy (optional).
     *&#47;

 5. Template:
    + Each template must be immediately preceded by a SoyDoc block.
    + The 'template' tag and the '/template' tag much each appear on its own line(s) and start
      at the start of a line.
    + The template body is not parsed by this parser. The body will be saved and returned for
      parsing by the template parser.
    Examples:
    /**
     * New style.
     * &#64;param boo Something scary.
     * &#64;param? goo Something slimy (optional).
     *&#47;
    {template .foo autoescape="..."}
      {msg desc=""}
        {$boo} has a friend named {$goo.firstName}.
      {/msg}
    {/template}
    /**
     * Old style.
     *&#47;
    {template name="foo"}
      ...
    {/template}

 6. Misc:
    + Other than the items specified above, everything else is ignored.
    + SoyDoc blocks not immediately followed by a template are ignored.
    + The file must end with a newline.
 </pre>
<P>

<P>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#jj_nt">jj_nt</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#token">token</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Current token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#token_source">token_source</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generated Token Manager.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.google.template.soy.soyparse.SoyFileParserConstants"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface com.google.template.soy.soyparse.<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html" title="interface in com.google.template.soy.soyparse">SoyFileParserConstants</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#ALIAS_TAG">ALIAS_TAG</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#ANY_CHAR">ANY_CHAR</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#ANY_TEMPLATE_CMD_NAME">ANY_TEMPLATE_CMD_NAME</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#ANY_TEMPLATE_TAG">ANY_TEMPLATE_TAG</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#DEFAULT">DEFAULT</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#DELPACKAGE_TAG">DELPACKAGE_TAG</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#DOTTED_IDENT">DOTTED_IDENT</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#EOF">EOF</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#IDENT">IDENT</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#IN_SOY_DOC">IN_SOY_DOC</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#IN_TEMPLATE">IN_TEMPLATE</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#NAMESPACE_TAG">NAMESPACE_TAG</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#NEWLINE">NEWLINE</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#NOT_BRACE">NOT_BRACE</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#NOT_EOL">NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#NOT_SOL">NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SKIPPED_CHAR">SKIPPED_CHAR</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SKIPPED_NEWLINE">SKIPPED_NEWLINE</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SOY_DOC_CHAR">SOY_DOC_CHAR</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SOY_DOC_END">SOY_DOC_END</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SOY_DOC_NEWLINE">SOY_DOC_NEWLINE</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#SOY_DOC_START">SOY_DOC_START</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#TEMPLATE_BODY">TEMPLATE_BODY</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#TEMPLATE_BODY_CHAR">TEMPLATE_BODY_CHAR</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#tokenImage">tokenImage</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#WS">WS</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#WS_UNTIL_EOL">WS_UNTIL_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_ALIAS_INVALID">XXX_ALIAS_INVALID</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_ALIAS_TAG_NOT_EOL">XXX_ALIAS_TAG_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_ALIAS_TAG_NOT_SOL">XXX_ALIAS_TAG_NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_ALIAS_TAG_WITH_AS">XXX_ALIAS_TAG_WITH_AS</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_DELPACKAGE_INVALID">XXX_DELPACKAGE_INVALID</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_DELPACKAGE_TAG_NOT_EOL">XXX_DELPACKAGE_TAG_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_DELPACKAGE_TAG_NOT_SOL">XXX_DELPACKAGE_TAG_NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_END_TEMPLATE_TAG_INVALID">XXX_END_TEMPLATE_TAG_INVALID</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_END_TEMPLATE_TAG_NOT_EOL">XXX_END_TEMPLATE_TAG_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_END_TEMPLATE_TAG_NOT_SOL">XXX_END_TEMPLATE_TAG_NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_NAMESPACE_INVALID">XXX_NAMESPACE_INVALID</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_NAMESPACE_TAG_NOT_EOL">XXX_NAMESPACE_TAG_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_NAMESPACE_TAG_NOT_SOL">XXX_NAMESPACE_TAG_NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_SOY_DOC_END_NOT_EOL">XXX_SOY_DOC_END_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_SOY_DOC_START_NOT_SOL">XXX_SOY_DOC_START_NOT_SOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_TEMPLATE_TAG_INVALID">XXX_TEMPLATE_TAG_INVALID</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_TEMPLATE_TAG_NOT_EOL">XXX_TEMPLATE_TAG_NOT_EOL</A>, <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html#XXX_TEMPLATE_TAG_NOT_SOL">XXX_TEMPLATE_TAG_NOT_SOL</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(java.io.InputStream)">SoyFileParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor with InputStream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(java.io.InputStream, java.lang.String)">SoyFileParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream,
              <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor with InputStream and supplied encoding</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(java.io.Reader)">SoyFileParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;stream)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(java.io.Reader, com.google.template.soy.base.SoyFileKind, java.lang.String, com.google.template.soy.base.IdGenerator)">SoyFileParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;input,
              <A HREF="../../../../../com/google/template/soy/base/SoyFileKind.html" title="enum in com.google.template.soy.base">SoyFileKind</A>&nbsp;soyFileKind,
              <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filePath,
              <A HREF="../../../../../com/google/template/soy/base/IdGenerator.html" title="interface in com.google.template.soy.base">IdGenerator</A>&nbsp;nodeIdGen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor that takes a reader object providing the input.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(com.google.template.soy.soyparse.SoyFileParserTokenManager)">SoyFileParser</A></B>(<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A>&nbsp;tm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor with generated Token Manager.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#SoyFileParser(java.lang.String, com.google.template.soy.base.SoyFileKind, java.lang.String, com.google.template.soy.base.IdGenerator)">SoyFileParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;input,
              <A HREF="../../../../../com/google/template/soy/base/SoyFileKind.html" title="enum in com.google.template.soy.base">SoyFileKind</A>&nbsp;soyFileKind,
              <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filePath,
              <A HREF="../../../../../com/google/template/soy/base/IdGenerator.html" title="interface in com.google.template.soy.base">IdGenerator</A>&nbsp;nodeIdGen)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor that takes a string input.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#disable_tracing()">disable_tracing</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disable tracing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#enable_tracing()">enable_tracing</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable tracing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#generateParseException()">generateParseException</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generate ParseException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#getNextToken()">getNextToken</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the next Token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#getToken(int)">getToken</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the specific Token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#main(java.lang.String[])">main</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;args)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempts to parse STDIN as a Soy file in UTF-8 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/soytree/SoyFileNode.html" title="class in com.google.template.soy.soytree">SoyFileNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#parseSoyFile()">parseSoyFile</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempts to parse the given input as a Soy file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#ReInit(java.io.InputStream)">ReInit</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reinitialise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#ReInit(java.io.InputStream, java.lang.String)">ReInit</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream,
       <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reinitialise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#ReInit(java.io.Reader)">ReInit</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;stream)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reinitialise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParser.html#ReInit(com.google.template.soy.soyparse.SoyFileParserTokenManager)">ReInit</A></B>(<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A>&nbsp;tm)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reinitialise.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="token_source"><!-- --></A><H3>
token_source</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A> <B>token_source</B></PRE>
<DL>
<DD>Generated Token Manager.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="token"><!-- --></A><H3>
token</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A> <B>token</B></PRE>
<DL>
<DD>Current token.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="jj_nt"><!-- --></A><H3>
jj_nt</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A> <B>jj_nt</B></PRE>
<DL>
<DD>Next token.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="SoyFileParser(java.io.Reader, com.google.template.soy.base.SoyFileKind, java.lang.String, com.google.template.soy.base.IdGenerator)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;input,
                     <A HREF="../../../../../com/google/template/soy/base/SoyFileKind.html" title="enum in com.google.template.soy.base">SoyFileKind</A>&nbsp;soyFileKind,
                     <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filePath,
                     <A HREF="../../../../../com/google/template/soy/base/IdGenerator.html" title="interface in com.google.template.soy.base">IdGenerator</A>&nbsp;nodeIdGen)</PRE>
<DL>
<DD>Constructor that takes a reader object providing the input.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>input</CODE> - The input to parse.<DD><CODE>soyFileKind</CODE> - The kind of this Soy file.<DD><CODE>filePath</CODE> - The path of the source being parsed. Used for reporting.<DD><CODE>nodeIdGen</CODE> - The node id generator for the tree being built.</DL>
</DL>
<HR>

<A NAME="SoyFileParser(java.lang.String, com.google.template.soy.base.SoyFileKind, java.lang.String, com.google.template.soy.base.IdGenerator)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;input,
                     <A HREF="../../../../../com/google/template/soy/base/SoyFileKind.html" title="enum in com.google.template.soy.base">SoyFileKind</A>&nbsp;soyFileKind,
                     <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filePath,
                     <A HREF="../../../../../com/google/template/soy/base/IdGenerator.html" title="interface in com.google.template.soy.base">IdGenerator</A>&nbsp;nodeIdGen)</PRE>
<DL>
<DD>Constructor that takes a string input.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>input</CODE> - The input to parse.<DD><CODE>soyFileKind</CODE> - The kind of this Soy file.<DD><CODE>filePath</CODE> - The path of the source being parsed. Used for reporting.<DD><CODE>nodeIdGen</CODE> - The node id generator for the tree being built.</DL>
</DL>
<HR>

<A NAME="SoyFileParser(java.io.InputStream)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream)</PRE>
<DL>
<DD>Constructor with InputStream.
<P>
</DL>
<HR>

<A NAME="SoyFileParser(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream,
                     <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</PRE>
<DL>
<DD>Constructor with InputStream and supplied encoding
<P>
</DL>
<HR>

<A NAME="SoyFileParser(java.io.Reader)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;stream)</PRE>
<DL>
<DD>Constructor.
<P>
</DL>
<HR>

<A NAME="SoyFileParser(com.google.template.soy.soyparse.SoyFileParserTokenManager)"><!-- --></A><H3>
SoyFileParser</H3>
<PRE>
public <B>SoyFileParser</B>(<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A>&nbsp;tm)</PRE>
<DL>
<DD>Constructor with generated Token Manager.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;args)
                 throws <A HREF="../../../../../com/google/template/soy/base/SoySyntaxException.html" title="class in com.google.template.soy.base">SoySyntaxException</A>,
                        <A HREF="../../../../../com/google/template/soy/soyparse/TokenMgrError.html" title="class in com.google.template.soy.soyparse">TokenMgrError</A>,
                        <A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A></PRE>
<DL>
<DD>Attempts to parse STDIN as a Soy file in UTF-8 encoding. If successful, prints "Valid input."
 to STDOUT. If unsuccessful, throws an exception.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>args</CODE> - This executable does not take any args.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/google/template/soy/soyparse/TokenMgrError.html" title="class in com.google.template.soy.soyparse">TokenMgrError</A></CODE> - When the input from STDIN has a token error.
<DD><CODE><A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A></CODE> - When the input from STDIN has a parse error.
<DD><CODE><A HREF="../../../../../com/google/template/soy/base/SoySyntaxException.html" title="class in com.google.template.soy.base">SoySyntaxException</A></CODE> - When the input from STDIN has a syntax error.</DL>
</DD>
</DL>
<HR>

<A NAME="parseSoyFile()"><!-- --></A><H3>
parseSoyFile</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soytree/SoyFileNode.html" title="class in com.google.template.soy.soytree">SoyFileNode</A> <B>parseSoyFile</B>()
                         throws <A HREF="../../../../../com/google/template/soy/base/SoySyntaxException.html" title="class in com.google.template.soy.base">SoySyntaxException</A>,
                                <A HREF="../../../../../com/google/template/soy/soyparse/TokenMgrError.html" title="class in com.google.template.soy.soyparse">TokenMgrError</A>,
                                <A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A></PRE>
<DL>
<DD>Attempts to parse the given input as a Soy file.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/google/template/soy/soyparse/TokenMgrError.html" title="class in com.google.template.soy.soyparse">TokenMgrError</A></CODE> - When the input has a token error.
<DD><CODE><A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A></CODE> - When the input has a parse error.
<DD><CODE><A HREF="../../../../../com/google/template/soy/base/SoySyntaxException.html" title="class in com.google.template.soy.base">SoySyntaxException</A></CODE> - When the input from STDIN has a syntax error.</DL>
</DD>
</DL>
<HR>

<A NAME="ReInit(java.io.InputStream)"><!-- --></A><H3>
ReInit</H3>
<PRE>
public void <B>ReInit</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream)</PRE>
<DL>
<DD>Reinitialise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="ReInit(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
ReInit</H3>
<PRE>
public void <B>ReInit</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;stream,
                   <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</PRE>
<DL>
<DD>Reinitialise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="ReInit(java.io.Reader)"><!-- --></A><H3>
ReInit</H3>
<PRE>
public void <B>ReInit</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;stream)</PRE>
<DL>
<DD>Reinitialise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="ReInit(com.google.template.soy.soyparse.SoyFileParserTokenManager)"><!-- --></A><H3>
ReInit</H3>
<PRE>
public void <B>ReInit</B>(<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserTokenManager.html" title="class in com.google.template.soy.soyparse">SoyFileParserTokenManager</A>&nbsp;tm)</PRE>
<DL>
<DD>Reinitialise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getNextToken()"><!-- --></A><H3>
getNextToken</H3>
<PRE>
public final <A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A> <B>getNextToken</B>()</PRE>
<DL>
<DD>Get the next Token.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getToken(int)"><!-- --></A><H3>
getToken</H3>
<PRE>
public final <A HREF="../../../../../com/google/template/soy/soyparse/Token.html" title="class in com.google.template.soy.soyparse">Token</A> <B>getToken</B>(int&nbsp;index)</PRE>
<DL>
<DD>Get the specific Token.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="generateParseException()"><!-- --></A><H3>
generateParseException</H3>
<PRE>
public <A HREF="../../../../../com/google/template/soy/soyparse/ParseException.html" title="class in com.google.template.soy.soyparse">ParseException</A> <B>generateParseException</B>()</PRE>
<DL>
<DD>Generate ParseException.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="enable_tracing()"><!-- --></A><H3>
enable_tracing</H3>
<PRE>
public final void <B>enable_tracing</B>()</PRE>
<DL>
<DD>Enable tracing.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="disable_tracing()"><!-- --></A><H3>
disable_tracing</H3>
<PRE>
public final void <B>disable_tracing</B>()</PRE>
<DL>
<DD>Disable tracing.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/SimpleCharStream.html" title="class in com.google.template.soy.soyparse"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/google/template/soy/soyparse/SoyFileParserConstants.html" title="interface in com.google.template.soy.soyparse"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/soyparse/SoyFileParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SoyFileParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
